#include "SingletonLazy.h"

SingletonLazy::~SingletonLazy()
{
}

SingletonLazy* SingletonLazy::GetInstance()
{
	if (m_instance == nullptr)
	{
		std::lock_guard<std::mutex> lock(m_mux);
		if (m_instance == nullptr)
		{
			m_instance = new SingletonLazy();
		}
	}

	return m_instance;
}
